package com.yang.service.Impl;

import com.yang.mapper.DepartmentMapper;
import com.yang.pojo.Department;
import com.yang.service.DepartmentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author 杨天可
 * @Date 2021/3/30 21:31
 * @Version 1.0
 */
@Service("departmentService")
public class DepartmentServiceImpl implements DepartmentService {

    @Resource
    DepartmentMapper departmentMapper;

    @Override
    public Department getInfoById(Integer departmentId) {
        return departmentMapper.getInfoById(departmentId);
    }
}
